﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

using OgilvyOne.UKNOW.EntityDB;
using OgilvyOne.UKNOW.Entity;
using System.Data;
public partial class admin_UKNOW_Sp_details : System.Web.UI.Page
{
    protected void Page_Load(object sender, EventArgs e)
    {
        int mid=0;
        if (Request.Params["MemberId"] != "" && Request.Params["MemberId"] != null)
        {
            mid = int.Parse(Request.Params["MemberId"].ToString());
            if (mid > 0)
            {
                DataTable dt = ContactInfoDB.SelectById(mid.ToString());
                foreach(DataRow row in dt.Rows)
                {
                    this.username.Text = row["USERNAME"].ToString();
                    this.email.Text = row["EMAIL"].ToString();
                    this.Mobile.Text = row["MOBLIE"].ToString();
                    this.FAQ.Text = row["NATURE"].ToString();
                }
            }
        }
    }
}